﻿package com.github.alipay;

import com.util.GetConfig;

public class AlipayConfig {
	// 商户appid
	public static String APPID = "2018042102588353";
	// 私钥 pkcs8格式的
	//public static String RSA_PRIVATE_KEY = "MIICXAIBAAKBgQDQ1zfB3d4Q4D+D7nvmMs4UkMVesItp8aTO9wKF5nTU0VTiPKZ1D+t+9G7d95vZJCWGEIvxNqZdvHAp/ILFmM4pAQjZFJJWKfz6TfeO8Vg97msJzvJm5i/Aq9+32F2Nd7QX4qQwVm2oX0DgIeDJXPlhkts4M6FawcGrUHYigtJQ9wIDAQABAoGAPgvjHe8b/emSFVFycCciAQwuB37uPLC1ZWQP1NZuWZhD3t9kGR18uwBGPB5HqFDL8TPTT/wLm4fTzzWdaLWIci6opfWZY4rBfnkFkf6sQ4KaaStoymebmmnTwI8Is00pi1YTtH0Hx1wzY0oadsogf1TMS7Rk22lEmLL6tGMngtkCQQD0aXgzcCHAhmszMH7o/5/hHER1+6+M0SJ5lH+ItD5+jVswMEnimLNxA5Qr8ay0go9wJPIoX4pTy1/Nq3d/76uLAkEA2r4BLHPZt4H7PPYQzhyA4PzWSMDJWzXOmdEtahx6eyHQMz9kzk+sPKfuhrhrLo3qWZHBc/H/J6/tuGqDfa/NxQJAEW5cNj7vCU4M4y+4PWHNwz5C269Bi+d2b/lZRySjuF7YfA1Vl6WQVqUMsj2gNZeCJ1tbMenucZ91i7OI6ETtlQJAGlWZqpJf+bnKV3KAX3ALDAskeSnMlBCMSPRn9UhsbnqJqEHPjw8Ee2D0VH/LV5V6S0JC+gR+ZXbGtdcM8YrCyQJBAM2bw4nvRLMD5wBDi9rkBmx6I0Wu/lvlPQC3HITQxfiuENR9hrH1afqkPYReCCctV3rTTxLV3PgkxDgwzgZmrYM=";
	public static String RSA_PRIVATE_KEY = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBANDXN8Hd3hDgP4Pue+YyzhSQxV6wi2nxpM73AoXmdNTRVOI8pnUP6370bt33m9kkJYYQi/E2pl28cCn8gsWYzikBCNkUklYp/PpN947xWD3uawnO8mbmL8Cr37fYXY13tBfipDBWbahfQOAh4Mlc+WGS2zgzoVrBwatQdiKC0lD3AgMBAAECgYA+C+Md7xv96ZIVUXJwJyIBDC4Hfu48sLVlZA/U1m5ZmEPe32QZHXy7AEY8HkeoUMvxM9NP/Aubh9PPNZ1otYhyLqil9ZljisF+eQWR/qxDgpppK2jKZ5uaadPAjwizTSmLVhO0fQfHXDNjShp2yiB/VMxLtGTbaUSYsvq0YyeC2QJBAPRpeDNwIcCGazMwfuj/n+EcRHX7r4zRInmUf4i0Pn6NWzAwSeKYs3EDlCvxrLSCj3Ak8ihfilPLX82rd3/vq4sCQQDavgEsc9m3gfs89hDOHIDg/NZIwMlbNc6Z0S1qHHp7IdAzP2TOT6w8p+6GuGsujepZkcFz8f8nr+24aoN9r83FAkARblw2Pu8JTgzjL7g9Yc3DPkLbr0GL53Zv+VlHJKO4Xth8DVWXpZBWpQyyPaA1l4InW1sx6e5xn3WLs4joRO2VAkAaVZmqkl/5ucpXcoBfcAsMCyR5KcyUEIxI9Gf1SGxueomoQc+PDwR7YPRUf8tXlXpLQkL6BH5ldsa11wzxisLJAkEAzZvDie9EswPnAEOL2uQGbHojRa7+W+U9ALcchNDF+K4Q1H2GsfVp+qQ9hF4IJy1XetNPEtXc+CTEODDOBmatgw==";
	// 服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = "";
	// 页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
	public static String return_url = GetConfig.getString("base_url")+"order/getAllOrderList";
	// 请求网关地址
	public static String URL = "https://openapi.alipay.com/gateway.do";
	// 编码
	public static String CHARSET = "UTF-8";
	// 返回格式
	public static String FORMAT = "json";
	// 支付宝公钥
	public static String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDQ1zfB3d4Q4D+D7nvmMs4UkMVesItp8aTO9wKF5nTU0VTiPKZ1D+t+9G7d95vZJCWGEIvxNqZdvHAp/ILFmM4pAQjZFJJWKfz6TfeO8Vg97msJzvJm5i/Aq9+32F2Nd7QX4qQwVm2oX0DgIeDJXPlhkts4M6FawcGrUHYigtJQ9wIDAQAB";
	// 日志记录目录
	public static String log_path = "/log";
	// RSA2
	public static String SIGNTYPE = "RSA";
}
